
package com.one.odf.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for rankingType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="rankingType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="ExtRanking" type="{}extRankingType" minOccurs="0"/&gt;
 *         &lt;element name="Competitor" type="{}competitorResultsType"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Rank" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="RankEqual" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="PreviousValue" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Movement" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="SortOrder" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
 *       &lt;attribute name="Competition" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Date" type="{}odfDateType" /&gt;
 *       &lt;attribute name="Place" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Country" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "rankingType", propOrder = {
    "extRanking",
    "competitor"
})
public class RankingType {

    @XmlElement(name = "ExtRanking")
    protected ExtRankingType extRanking;
    @XmlElement(name = "Competitor", required = true)
    protected CompetitorResultsType competitor;
    @XmlAttribute(name = "Rank", required = true)
    protected String rank;
    @XmlAttribute(name = "RankEqual")
    protected String rankEqual;
    @XmlAttribute(name = "Value")
    protected String value;
    @XmlAttribute(name = "ValueType")
    protected String valueType;
    @XmlAttribute(name = "PreviousValue")
    protected String previousValue;
    @XmlAttribute(name = "Movement")
    protected String movement;
    @XmlAttribute(name = "SortOrder", required = true)
    protected int sortOrder;
    @XmlAttribute(name = "Competition")
    protected String competition;
    @XmlAttribute(name = "Date")
    protected String date;
    @XmlAttribute(name = "Place")
    protected String place;
    @XmlAttribute(name = "Country")
    protected String country;

    /**
     * Gets the value of the extRanking property.
     * 
     * @return
     *     possible object is
     *     {@link ExtRankingType }
     *     
     */
    public ExtRankingType getExtRanking() {
        return extRanking;
    }

    /**
     * Sets the value of the extRanking property.
     * 
     * @param value
     *     allowed object is
     *     {@link ExtRankingType }
     *     
     */
    public void setExtRanking(ExtRankingType value) {
        this.extRanking = value;
    }

    /**
     * Gets the value of the competitor property.
     * 
     * @return
     *     possible object is
     *     {@link CompetitorResultsType }
     *     
     */
    public CompetitorResultsType getCompetitor() {
        return competitor;
    }

    /**
     * Sets the value of the competitor property.
     * 
     * @param value
     *     allowed object is
     *     {@link CompetitorResultsType }
     *     
     */
    public void setCompetitor(CompetitorResultsType value) {
        this.competitor = value;
    }

    /**
     * Gets the value of the rank property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRank() {
        return rank;
    }

    /**
     * Sets the value of the rank property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRank(String value) {
        this.rank = value;
    }

    /**
     * Gets the value of the rankEqual property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRankEqual() {
        if (rankEqual == null) {
            return "";
        } else {
            return rankEqual;
        }
    }

    /**
     * Sets the value of the rankEqual property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRankEqual(String value) {
        this.rankEqual = value;
    }

    /**
     * Gets the value of the value property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getValue() {
        if (value == null) {
            return "";
        } else {
            return value;
        }
    }

    /**
     * Sets the value of the value property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * Gets the value of the valueType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getValueType() {
        if (valueType == null) {
            return "";
        } else {
            return valueType;
        }
    }

    /**
     * Sets the value of the valueType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setValueType(String value) {
        this.valueType = value;
    }

    /**
     * Gets the value of the previousValue property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPreviousValue() {
        if (previousValue == null) {
            return "";
        } else {
            return previousValue;
        }
    }

    /**
     * Sets the value of the previousValue property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPreviousValue(String value) {
        this.previousValue = value;
    }

    /**
     * Gets the value of the movement property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMovement() {
        if (movement == null) {
            return "";
        } else {
            return movement;
        }
    }

    /**
     * Sets the value of the movement property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMovement(String value) {
        this.movement = value;
    }

    /**
     * Gets the value of the sortOrder property.
     * 
     */
    public int getSortOrder() {
        return sortOrder;
    }

    /**
     * Sets the value of the sortOrder property.
     * 
     */
    public void setSortOrder(int value) {
        this.sortOrder = value;
    }

    /**
     * Gets the value of the competition property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCompetition() {
        if (competition == null) {
            return "";
        } else {
            return competition;
        }
    }

    /**
     * Sets the value of the competition property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCompetition(String value) {
        this.competition = value;
    }

    /**
     * Gets the value of the date property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDate() {
        return date;
    }

    /**
     * Sets the value of the date property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDate(String value) {
        this.date = value;
    }

    /**
     * Gets the value of the place property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPlace() {
        if (place == null) {
            return "";
        } else {
            return place;
        }
    }

    /**
     * Sets the value of the place property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPlace(String value) {
        this.place = value;
    }

    /**
     * Gets the value of the country property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCountry() {
        if (country == null) {
            return "";
        } else {
            return country;
        }
    }

    /**
     * Sets the value of the country property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCountry(String value) {
        this.country = value;
    }

}
